﻿<UserControl x:Class="WbfsSync.Controls.SearchBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:s="clr-namespace:System;assembly=mscorlib"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mwt="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
             xmlns:local="clr-namespace:WbfsSync.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="24" d:DesignWidth="190">
    <Grid>
        <Rectangle Name="RectangleBack3" Margin="0,0,0,0" StrokeThickness="1" RadiusX="1" RadiusY="1" IsHitTestVisible="False">
            <Rectangle.Stroke>
                <SolidColorBrush Color="#50FFFFFF" />
            </Rectangle.Stroke>
        </Rectangle>

        <Rectangle Name="RectangleBack2" Margin="1,1,1,1" StrokeThickness="1" RadiusX="1" RadiusY="1" IsHitTestVisible="False">
            <Rectangle.Stroke>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="#90000000" Offset="0"/>
                    <GradientStop Color="#20000000" Offset="1"/>
                </LinearGradientBrush>
            </Rectangle.Stroke>
        </Rectangle>

        <Rectangle Name="RectangleBack1" Margin="2,2,2,2" StrokeThickness="1" RadiusX="1" RadiusY="1">
            <Rectangle.Stroke>
                <SolidColorBrush Color="#D0FFFFFF" />
            </Rectangle.Stroke>
        </Rectangle>

        <TextBlock Name="searchText" SnapsToDevicePixels="True" Margin="10,4,0,-1" FontStyle="Italic" Foreground="#FF707070">
            Search Games
        </TextBlock>

        <local:BorderlessTextBox x:Name="searchQuery" Margin="4,3,0,-1" Background="{x:Null}" BorderBrush="{x:Null}" />
        
        <local:ImageButton x:Name="searchButton" Margin="0,3,4,3" IsEnabled="False" HorizontalAlignment="Right" Width="18" Height="18"
                           ImageSource="../Icons/Navigation/navbar_search.png"/>

    </Grid>

</UserControl>
